home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / smail-3.1.28 / contrib / akcs / directors < prev    next >
Encoding:
Text File  |  1990-10-23  |  5.1 KB  |  139 lines

  1. # @(#)contrib/akcs/directors    1.2 10/24/90 05:17:14
  2.  
  3. # This file defines the configuration of the director subsystem as
  4. # compiled into the smail binary.  By modifying the source file config.h
  5. # the actual internal configuration can be changed.  Thus, this should
  6. # be matched up against config.h and default.c before assuming this is
  7. # completely correct.
  8.  
  9. # aliasinclude - expand ":include:filename" addresses produced by alias files
  10. aliasinclude:
  11.     driver = aliasinclude,        # use this special-case driver
  12.     nobody;                # associate nobody user with addresses
  13.                     #  when mild permission violations
  14.                     #  are encountered
  15.  
  16.     copysecure,            # get permissions from alias director
  17.     copyowners            # get owners from alias director
  18.  
  19. # forwardinclude - expand ":include:filename" addrs produced by forward files
  20. forwardinclude:
  21.     driver = forwardinclude,    # use this special-case driver
  22.     nobody;
  23.  
  24.     copysecure,            # get perms from forwarding director
  25.     copyowners            # get owners from forwarding director
  26.  
  27. # aliases - search for alias expansions stored in a database
  28. aliases:
  29.     driver = aliasfile,        # general-purpose aliasing director
  30.     -nobody,            # all addresses are associated
  31.                     # with nobody by default, so setting
  32.                     # this is not useful.
  33.     owner = owner-$user;        # problems go to an owner address
  34.  
  35.     file = aliases,
  36. #    file = mail.aliases,        # use this for YP
  37.     modemask = 002,
  38.     optional,            # ignore if file does not exist
  39.     proto = lsearch 
  40. #    proto = aliasyp            # use this for YP
  41.  
  42. # dotforward - expand .forward files in user home directories
  43. dotforward:
  44.     driver = forwardfile,        # general-purpose forwarding director
  45.     owner = real-$user,        # problems go to the user's mailbox
  46.     nobody,
  47.     sender_okay;            # sender never removed from expansion
  48.  
  49.     file = ~/.forward,        # .forward file in home directories
  50.     checkowner,            # the user can own this file
  51.     owners = root,            # or root can own the file
  52.     modemask = 002,            # it should not be globally writable
  53.     caution = daemon:root,        # don't run things as root or daemon
  54.     # be extra carefull of remotely accessible home directories
  55.     unsecure = "~ftp:~uucp:~nuucp:/tmp:/usr/tmp"
  56.  
  57. # forwardto - expand a "Forward to " in user mailbox files
  58. #
  59. # This emulates the V6/V7/System-V forwarding mechanism which uses a
  60. # line of forward addresses stored at the beginning of user mailbox files
  61. # prefixed with the string "Forward to "
  62. forwardto:
  63.     driver = forwardfile,
  64.     owner = real-$user, nobody, sender_okay;
  65.  
  66.     file = /usr/spool/mail/${lc:user},    # point at user mailbox files
  67. #    file = /usr/mail/${lc:user},    # the mailbox file for System V
  68.     forwardto,            # enable "Forward to " function
  69.     checkowner,            # the user can own this file
  70.     owners = root,            # or root can own the file
  71.     modemask = 0022,        # only owner should be able to write
  72. #    modemask = 0002,        # under System V, group mail can write
  73.     caution = daemon:root        # don't run things as root or daemon
  74.  
  75. # akcs - match AKCS V6 users
  76. #
  77. # This is the entry which remaps addresses of the form "akcs.xxxxx" to the
  78. # form user "xxxxx" in the AKCS system.  It also validates the user against
  79. # the AKCS user database.  This is a passive director entry in that any
  80. # address that this director cannot resolve is passed onward.
  81. #
  82. # WARNING:  If this director entry is used smart-user is dangerous -- it
  83. #        will cause all mismatched entries (ie: no local AKCS user) to be
  84. #        bounced to another site for re-inspection!  Use care if both are
  85. #        active to prevent mailer frenzy.
  86. #
  87. akcs:
  88.     driver = akcs;            # Special AKCS driver is used
  89.  
  90.     transport = akcs,        # Append to AKCS files 
  91.     prefix = "akcs."        # for example, match akcs.test
  92.  
  93.  
  94. # user - match users on the local host with delivery to their mailboxes
  95. user:    driver = user;            # driver to match usernames
  96.  
  97.     transport = local        # local transport goes to mailboxes
  98.  
  99. # real_user - match usernames when prefixed with the string "real-"
  100. #
  101. # This is useful for allowing an address which explicitly delivers to a
  102. # user's mailbox file.  For example, errors in a .forward file expansion
  103. # can be delivered here, or forwarding loops between multiple machines
  104. # can be resolved by using a real-username address.
  105.  
  106. real_user:
  107.     driver = user;
  108.  
  109.     transport = local,
  110.     prefix = "real-"        # for example, match real-root
  111.  
  112. # lists - expand mailing lists stored in a list directory
  113. #
  114. # mailing lists can be created simply by creating a file in the
  115. # /usr/lib/smail/lists directory.
  116. lists:    driver = forwardfile,
  117.     caution,            # flag all addresses with caution
  118.     nobody,                # and then associate the nobody user
  119.     owner = owner-$user;        # system V sites may wish to use
  120.                     # o-$user, as owner-$user may be
  121.                     # too long for a 14-char filename.
  122.  
  123.     # map the name of the mailing list to lower case
  124.     file = lists/${lc:user}
  125.  
  126. # smart_user - a partially specified smartuser director
  127. #
  128. # If the config file attribute smart_user is defined as a string such as
  129. # "$user@domain-gateway" then users not matched otherwise will be sent
  130. # off to the host "domain-gateway".
  131. #
  132. # If the smart_user attribute is not defined, this director is ignored.
  133. smart_user:
  134.     driver = smartuser;        # special-case driver
  135.  
  136.     # do not match addresses which cannot be made into valid
  137.     # RFC822 local addresses without the use of double quotes.
  138.     well_formed_only
  139.